package com.ruoyi.service.impl;

import java.util.List;

import com.ruoyi.annotation.AddOrUpdateFilter;
import com.ruoyi.domain.THonorAttchment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.mapper.THonorInfoMapper;
import com.ruoyi.domain.THonorInfo;
import com.ruoyi.service.ITHonorInfoService;

/**
 * 荣誉信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-11-08
 */
@Service
public class THonorInfoServiceImpl implements ITHonorInfoService {
    @Autowired
    private THonorInfoMapper tHonorInfoMapper;

    /**
     * 查询荣誉信息
     *
     * @param talentId 人才信息主键
     * @return 荣誉信息
     */
    @Override
    public List<THonorInfo> selectTHonorInfoById(Long talentId) {
        return tHonorInfoMapper.selectTHonorInfoById(talentId);
    }

        /**
     * 查询荣誉信息附件
     *
     * @param honorId 荣誉信息主键
     * @return 荣誉信息
     */
    @Override
    public List<THonorAttchment> selectAttachmentById(Long honorId) {
        return tHonorInfoMapper.selectAttachmentById(honorId);
    }

    /**
     * 查询荣誉信息列表
     *
     * @param tHonorInfo 荣誉信息
     * @return 荣誉信息
     */
    @Override
    public List<THonorInfo> selectTHonorInfoList(THonorInfo tHonorInfo) {
        return tHonorInfoMapper.selectTHonorInfoList(tHonorInfo);
    }
}


